package com.nt.train.service.impl;

import com.nt.train.dto.OrderInfo;
import com.nt.train.service.OrderStrategyService;
import org.springframework.stereotype.Component;

/**
 * 国内下单
 * @author hlf
 * @version 1.0
 * @date 2022/8/5 9:45
 */
@Component("Domestic")
public class OrderDomesticServiceimpl implements OrderStrategyService {

    @Override
    public String preCreateOrder(OrderInfo orderInfo) {
        System.out.println("*处理国内预下单的相关业务*");
        return orderInfo.getPlatFormType()+"-国内预下单";
    }
}
